Correct joint rotation